package top.zbsong.community.provider;

import top.zbsong.community.dto.AccessTokenDTO;
import top.zbsong.community.dto.OAuthUser;

/**
 * Create By songzb on 2021/5/8
 *
 * @author songzb
 */
public interface OAuthProvider {
    // 获取accessToken
    public String getAccessToken(AccessTokenDTO accessTokenDTO);

    // 获取用户信息
    public OAuthUser getUser(String accessToken);
}
